package com.feng.financial.manager.vo;

import com.feng.financial.model.enums.OrderStatus;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author Administrator
 */
public class ProductSaveVo implements Serializable {

    @ApiModelProperty(value = "产品ID")
    @NotNull
    private Integer id;

    @NotEmpty
    private String productName;

    @ApiModelProperty(value = "订单状态",dataType = "com.feng.financial.entity.enums.OrderStatus")
    private OrderStatus orderStatus;

    public OrderStatus getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(OrderStatus orderStatus) {
        this.orderStatus = orderStatus;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    @Override
    public String toString() {
        return "ProductSaveVo{" +
                "id=" + id +
                ", productName='" + productName + '\'' +
                '}';
    }
}
